<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>家庭医疗陪护行程规划 - 温馨备忘录</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#4A90E2',
                        secondary: '#87CEEB',
                        accent: '#5CB85C',
                        warm: '#F5F5DC',
                        'warm-light': '#FAFAF0'
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif']
                    }
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .timeline-item {
                transition: all 0.3s ease;
            }
            .timeline-item:hover {
                transform: translateY(-2px);
                box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
            }
            .reminder-badge {
                animation: pulse 2s infinite;
            }
            @keyframes pulse {
                0%, 100% { opacity: 1; }
                50% { opacity: 0.7; }
            }
            .card-hover {
                transition: all 0.3s ease;
            }
            .card-hover:hover {
                transform: translateY(-5px);
                box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            }
        }
    </style>
</head>
<body class="bg-warm-light font-sans">
    <!-- 顶部导航 -->
    <nav class="bg-white shadow-sm sticky top-0 z-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between items-center h-16">
                <div class="flex items-center space-x-3">
                    <div class="w-10 h-10 bg-primary rounded-full flex items-center justify-center">
                        <i class="fa fa-heart text-white"></i>
                    </div>
                    <h1 class="text-xl font-semibold text-gray-800">医疗陪护行程规划</h1>
                </div>
                <div class="flex items-center space-x-4">
                    <div class="text-sm text-gray-600">
                        <i class="fa fa-calendar mr-1"></i>
                        10月21日-10月26日
                    </div>
                    <button id="emergencyCall" class="bg-red-500 text-white px-4 py-2 rounded-lg hover:bg-red-600 transition-colors">
                        <i class="fa fa-phone mr-1"></i>紧急联系
                    </button>
                </div>
            </div>
        </div>
    </nav>

    <!-- 主要内容 -->
    <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
        
        <!-- 行程概览 -->
        <section class="mb-12">
            <div class="bg-white rounded-2xl shadow-sm overflow-hidden">
                <div class="bg-gradient-to-r from-primary to-secondary p-6">
                    <h2 class="text-2xl font-bold text-white mb-2">行程概览</h2>
                    <p class="text-white/90">10月21日至10月26日完整医疗陪护流程</p>
                </div>
                <div class="p-6">
                    <div class="relative">
                        <!-- 时间轴主线 -->
                        <div class="absolute left-8 top-0 bottom-0 w-0.5 bg-primary/20"></div>
                        
                        <!-- 时间轴项目 -->
                        <div class="space-y-8">
                            <!-- 10月21日 -->
                            <div class="timeline-item flex items-start space-x-6">
                                <div class="flex-shrink-0 w-16 h-16 bg-primary rounded-full flex items-center justify-center text-white font-bold text-sm">
                                    21日<br>周一
                                </div>
                                <div class="flex-1 bg-blue-50 p-4 rounded-xl">
                                    <h3 class="font-semibold text-gray-900 mb-2">出发前往广州</h3>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 08:46 桂林西站乘坐D1851次列车 08车08D、08F、09A</li>
                                        <li>• 11:12 到达广州南站</li>
                                        <li>• 13:00 入住蔓菲酒店(金沙洲万达金铂天地店)</li>
                                        <li>• 15:00 医院踩点，熟悉环境</li>
                                    </ul>
                                </div>
                            </div>

                            <!-- 10月22日 -->
                            <div class="timeline-item flex items-start space-x-6">
                                <div class="flex-shrink-0 w-16 h-16 bg-red-500 rounded-full flex items-center justify-center text-white font-bold text-sm reminder-badge">
                                    22日<br>周二
                                </div>
                                <div class="flex-1 bg-red-50 p-4 rounded-xl">
                                    <h3 class="font-semibold text-gray-900 mb-2">住院手续办理</h3>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 08:00 前往医院办理住院手续</li>
                                        <li>• 09:00 空腹检查（重要！）</li>
                                        <li>• 11:00 安排病房，医生问诊</li>
                                        <li>• 14:00 开始住院治疗</li>
                                    </ul>
                                </div>
                            </div>

                            <!-- 10月23日 -->
                            <div class="timeline-item flex items-start space-x-6">
                                <div class="flex-shrink-0 w-16 h-16 bg-orange-500 rounded-full flex items-center justify-center text-white font-bold text-sm">
                                    23日<br>周三
                                </div>
                                <div class="flex-1 bg-orange-50 p-4 rounded-xl">
                                    <h3 class="font-semibold text-gray-900 mb-2">治疗第二天</h3>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 08:00 医生查房</li>
                                        <li>• 09:30 相关检查</li>
                                        <li>• 14:00 酒店更换（可选）</li>
                                        <li>• 16:00 术后护理培训</li>
                                    </ul>
                                </div>
                            </div>

                            <!-- 10月24日-25日 -->
                            <div class="timeline-item flex items-start space-x-6">
                                <div class="flex-shrink-0 w-16 h-16 bg-green-500 rounded-full flex items-center justify-center text-white font-bold text-sm">
                                    24-25日<br>周四周五
                                </div>
                                <div class="flex-1 bg-green-50 p-4 rounded-xl">
                                    <h3 class="font-semibold text-gray-900 mb-2">持续治疗与恢复</h3>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 每日08:00 医生查房</li>
                                        <li>• 根据医嘱进行治疗</li>
                                        <li>• 术后饮食调理</li>
                                        <li>• 康复训练</li>
                                    </ul>
                                </div>
                            </div>

                            <!-- 10月26日 -->
                            <div class="timeline-item flex items-start space-x-6">
                                <div class="flex-shrink-0 w-16 h-16 bg-purple-500 rounded-full flex items-center justify-center text-white font-bold text-sm">
                                    26日<br>周六
                                </div>
                                <div class="flex-1 bg-purple-50 p-4 rounded-xl">
                                    <h3 class="font-semibold text-gray-900 mb-2">出院返程</h3>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 09:00 医生查房，办理出院手续</li>
                                        <li>• 11:00 离开医院</li>
                                        <li>• 13:00 返程桂林</li>
                                        <li>• 18:00 预计到达家中</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 详细日程安排 -->
        <section class="mb-12">
            <div class="bg-white rounded-2xl shadow-sm overflow-hidden">
                <div class="bg-gradient-to-r from-primary to-secondary p-6">
                    <h2 class="text-2xl font-bold text-white mb-2">详细日程安排</h2>
                    <p class="text-white/90">每日具体时间安排与注意事项</p>
                </div>
                <div class="p-6">
                    <!-- 日期导航 -->
                    <div class="flex flex-wrap gap-2 mb-6">
                        <button class="date-tab active bg-primary text-white px-4 py-2 rounded-lg text-sm font-medium" data-date="day1">10月21日</button>
                        <button class="date-tab bg-gray-200 text-gray-700 px-4 py-2 rounded-lg text-sm font-medium hover:bg-gray-300" data-date="day2">10月22日</button>
                        <button class="date-tab bg-gray-200 text-gray-700 px-4 py-2 rounded-lg text-sm font-medium hover:bg-gray-300" data-date="day3">10月23日</button>
                        <button class="date-tab bg-gray-200 text-gray-700 px-4 py-2 rounded-lg text-sm font-medium hover:bg-gray-300" data-date="day4">10月24-25日</button>
                        <button class="date-tab bg-gray-200 text-gray-700 px-4 py-2 rounded-lg text-sm font-medium hover:bg-gray-300" data-date="day5">10月26日</button>
                    </div>

                    <!-- 10月21日详情 -->
                    <div id="day1" class="date-content">
                        <div class="grid md:grid-cols-2 gap-6">
                            <div>
                                <h3 class="text-lg font-semibold text-gray-900 mb-4">10月21日 - 出发前往广州</h3>
                                <div class="space-y-4">
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">06:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">前往桂林西站</p>
                                            <p class="text-sm text-gray-600">提前2小时出发，避免误车</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">06:42</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">乘坐D1851次列车</p>
                                            <p class="text-sm text-gray-600">桂林西站 → 广州南站，全程4小时51分钟</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">11:12</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">到达广州南站</p>
                                            <p class="text-sm text-gray-600">转乘地铁前往蔓菲酒店</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">13:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">入住蔓菲酒店</p>
                                            <p class="text-sm text-gray-600">地址：佛山市南海区黄岐泌冲建设大道34号</p>
                                            <p class="text-sm text-gray-600">电话：0757-66866656</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">15:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">医院踩点</p>
                                            <p class="text-sm text-gray-600">熟悉医院环境，确认住院流程</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <img src="https://doc.doubao.com/s/0Sxe2ZdD1w0/" alt="广州中医药大学金沙洲医院外观" class="w-full h-48 object-cover rounded-lg mb-4">
                                <div class="bg-blue-50 p-4 rounded-lg">
                                    <h4 class="font-medium text-gray-900 mb-2">交通提醒</h4>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 广州南站乘地铁2号线至海珠广场站</li>
                                        <li>• 转乘6号线至横沙站C出口</li>
                                        <li>• 步行约300米到达医院</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- 10月22日详情 -->
                    <div id="day2" class="date-content hidden">
                        <div class="grid md:grid-cols-2 gap-6">
                            <div>
                                <h3 class="text-lg font-semibold text-gray-900 mb-4">10月22日 - 住院手续办理</h3>
                                <div class="space-y-4">
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">07:30</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">前往医院</p>
                                            <p class="text-sm text-gray-600">步行约15分钟或打车5分钟</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-red-500">08:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">办理住院手续</p>
                                            <p class="text-sm text-red-600">重要：母亲需空腹！</p>
                                            <p class="text-sm text-gray-600">携带身份证、医保卡、住院通知书</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-red-500">09:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">空腹检查</p>
                                            <p class="text-sm text-red-600">抽血、B超等检查项目</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">11:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">安排病房</p>
                                            <p class="text-sm text-gray-600">医生问诊，了解病情和治疗方案</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">12:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">午餐</p>
                                            <p class="text-sm text-gray-600">检查完成后可进食，以清淡易消化为主</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <img src="https://doc.doubao.com/s/QP-ZCcc_L7E/" alt="医院病房环境" class="w-full h-48 object-cover rounded-lg mb-4">
                                <div class="bg-red-50 p-4 rounded-lg">
                                    <h4 class="font-medium text-gray-900 mb-2">陪护安排</h4>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 上午：父亲负责办理手续</li>
                                        <li>• 下午：我负责陪护</li>
                                        <li>• 晚上：轮流陪护</li>
                                        <li>• 订餐分工：我和父亲轮流负责</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- 10月23日详情 -->
                    <div id="day3" class="date-content hidden">
                        <div class="grid md:grid-cols-2 gap-6">
                            <div>
                                <h3 class="text-lg font-semibold text-gray-900 mb-4">10月23日 - 治疗第二天</h3>
                                <div class="space-y-4">
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">08:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">医生查房</p>
                                            <p class="text-sm text-gray-600">了解病情变化，调整治疗方案</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">09:30</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">相关检查</p>
                                            <p class="text-sm text-gray-600">根据医嘱进行必要的检查</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-orange-500">14:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">酒店更换（可选）</p>
                                            <p class="text-sm text-orange-600">可选择距离医院更近的住宿</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">16:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">术后护理培训</p>
                                            <p class="text-sm text-gray-600">学习术后护理知识和技能</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <div class="bg-orange-50 p-4 rounded-lg mb-4">
                                    <h4 class="font-medium text-gray-900 mb-2">备选酒店推荐</h4>
                                    <div class="space-y-3">
                                        <div class="border-l-4 border-primary pl-3">
                                            <p class="font-medium text-gray-900">金沙洲花园宾馆</p>
                                            <p class="text-sm text-gray-600">紧邻医院，步行5分钟</p>
                                        </div>
                                        <div class="border-l-4 border-primary pl-3">
                                            <p class="font-medium text-gray-900">宜致酒店(金沙洲沙贝地铁站店)</p>
                                            <p class="text-sm text-gray-600">新开业，欧式风格，步行10分钟</p>
                                        </div>
                                        <div class="border-l-4 border-primary pl-3">
                                            <p class="font-medium text-gray-900">希尔顿欢朋酒店</p>
                                            <p class="text-sm text-gray-600">品牌保障，步行12分钟</p>
                                        </div>
                                    </div>
                                </div>
                                <div class="bg-blue-50 p-4 rounded-lg">
                                    <h4 class="font-medium text-gray-900 mb-2">酒店设施要求</h4>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 24小时热水</li>
                                        <li>• 空调</li>
                                        <li>• WiFi</li>
                                        <li>• 洗衣服务</li>
                                        <li>• 安静环境</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- 10月24-25日详情 -->
                    <div id="day4" class="date-content hidden">
                        <div class="grid md:grid-cols-2 gap-6">
                            <div>
                                <h3 class="text-lg font-semibold text-gray-900 mb-4">10月24-25日 - 持续治疗与恢复</h3>
                                <div class="space-y-4">
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">08:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">医生查房</p>
                                            <p class="text-sm text-gray-600">每日例行检查，评估恢复情况</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">09:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">治疗时间</p>
                                            <p class="text-sm text-gray-600">根据医嘱进行药物治疗或物理治疗</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">12:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">午餐</p>
                                            <p class="text-sm text-gray-600">术后营养餐，促进恢复</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">15:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">康复训练</p>
                                            <p class="text-sm text-gray-600">适当活动，促进身体恢复</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <img src="https://doc.doubao.com/s/Juy3Ui-WqJs/" alt="术后营养餐" class="w-full h-48 object-cover rounded-lg mb-4">
                                <div class="bg-green-50 p-4 rounded-lg">
                                    <h4 class="font-medium text-gray-900 mb-2">术后饮食安排</h4>
                                    <div class="space-y-2">
                                        <div>
                                            <p class="font-medium text-gray-900 text-sm">流质阶段（术后1-2天）</p>
                                            <p class="text-xs text-gray-600">米汤、稀藕粉、蔬菜汤</p>
                                        </div>
                                        <div>
                                            <p class="font-medium text-gray-900 text-sm">半流质阶段（术后3-5天）</p>
                                            <p class="text-xs text-gray-600">鸡蛋羹、南瓜粥、烂面条</p>
                                        </div>
                                        <div>
                                            <p class="font-medium text-gray-900 text-sm">软食阶段（术后5-7天）</p>
                                            <p class="text-xs text-gray-600">软米饭、清蒸鱼、豆腐</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- 10月26日详情 -->
                    <div id="day5" class="date-content hidden">
                        <div class="grid md:grid-cols-2 gap-6">
                            <div>
                                <h3 class="text-lg font-semibold text-gray-900 mb-4">10月26日 - 出院返程</h3>
                                <div class="space-y-4">
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">09:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">医生查房</p>
                                            <p class="text-sm text-gray-600">评估恢复情况，确认是否可以出院</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">10:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">办理出院手续</p>
                                            <p class="text-sm text-gray-600">结算费用，获取出院小结和用药指导</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">11:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">离开医院</p>
                                            <p class="text-sm text-gray-600">前往酒店取行李，准备返程</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">13:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">返程桂林</p>
                                            <p class="text-sm text-gray-600">建议乘坐高铁，舒适安全</p>
                                        </div>
                                    </div>
                                    <div class="flex items-start space-x-3">
                                        <div class="w-16 text-sm font-medium text-gray-500">18:00</div>
                                        <div class="flex-1">
                                            <p class="font-medium text-gray-900">预计到达家中</p>
                                            <p class="text-sm text-gray-600">继续居家康复，按医嘱用药</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <div class="bg-purple-50 p-4 rounded-lg mb-4">
                                    <h4 class="font-medium text-gray-900 mb-2">返程注意事项</h4>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 确保伤口清洁干燥</li>
                                        <li>• 携带所有术后药物</li>
                                        <li>• 避免长时间保持同一姿势</li>
                                        <li>• 每隔1-2小时活动一下</li>
                                        <li>• 准备易于消化的食物</li>
                                    </ul>
                                </div>
                                <div class="bg-blue-50 p-4 rounded-lg">
                                    <h4 class="font-medium text-gray-900 mb-2">后续康复提醒</h4>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 严格按医嘱用药</li>
                                        <li>• 注意休息，避免劳累</li>
                                        <li>• 保持良好饮食习惯</li>
                                        <li>• 定期复查</li>
                                        <li>• 如有不适及时就医</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 注意事项提醒 -->
        <section class="mb-12">
            <div class="bg-white rounded-2xl shadow-sm overflow-hidden">
                <div class="bg-gradient-to-r from-primary to-secondary p-6">
                    <h2 class="text-2xl font-bold text-white mb-2">注意事项提醒</h2>
                    <p class="text-white/90">重要提醒和注意事项</p>
                </div>
                <div class="p-6">
                    <div class="grid md:grid-cols-2 gap-6">
                        <!-- 术前禁食提醒 -->
                        <div class="card-hover bg-red-50 p-6 rounded-xl border-l-4 border-red-500">
                            <div class="flex items-start space-x-3">
                                <i class="fa fa-exclamation-triangle text-red-500 text-xl mt-1"></i>
                                <div>
                                    <h3 class="font-semibold text-gray-900 mb-2">术前禁食提醒</h3>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 10月21日晚上10点后开始禁食</li>
                                        <li>• 禁食时间：至少12小时</li>
                                        <li>• 可少量饮用白开水（不超过200ml）</li>
                                        <li>• 避免饮用咖啡、茶、饮料等</li>
                                        <li>• 10月22日早上8点前到达医院</li>
                                    </ul>
                                </div>
                            </div>
                        </div>

                        <!-- 术后饮食调理 -->
                        <div class="card-hover bg-green-50 p-6 rounded-xl border-l-4 border-green-500">
                            <div class="flex items-start space-x-3">
                                <i class="fa fa-cutlery text-green-500 text-xl mt-1"></i>
                                <div>
                                    <h3 class="font-semibold text-gray-900 mb-2">术后饮食调理</h3>
                                    <div class="space-y-2">
                                        <div>
                                            <p class="font-medium text-gray-900 text-sm">流质 → 半流质 → 普食</p>
                                            <p class="text-xs text-gray-600">循序渐进，避免肠胃负担</p>
                                        </div>
                                        <ul class="text-sm text-gray-600 space-y-1">
                                            <li>• 多吃富含蛋白质的食物</li>
                                            <li>• 避免辛辣、油腻、刺激性食物</li>
                                            <li>• 少食多餐，每餐不宜过饱</li>
                                            <li>• 保持充足水分摄入</li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!-- 衣物准备 -->
                        <div class="card-hover bg-blue-50 p-6 rounded-xl border-l-4 border-blue-500">
                            <div class="flex items-start space-x-3">
                                <i class="fa fa-shopping-bag text-blue-500 text-xl mt-1"></i>
                                <div>
                                    <h3 class="font-semibold text-gray-900 mb-2">衣物准备</h3>
                                    <div class="mb-2">
                                        <p class="font-medium text-gray-900 text-sm">广州10月底天气：21℃-29℃</p>
                                        <p class="text-xs text-gray-600">白天温暖，早晚凉爽，偶有阵雨</p>
                                    </div>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 薄款长袖T恤2-3件</li>
                                        <li>• 薄外套1-2件</li>
                                        <li>• 长裤2-3条（宽松舒适）</li>
                                        <li>• 雨伞1把</li>
                                        <li>• 舒适拖鞋1双</li>
                                    </ul>
                                </div>
                            </div>
                        </div>

                        <!-- 住宿提醒 -->
                        <div class="card-hover bg-orange-50 p-6 rounded-xl border-l-4 border-orange-500">
                            <div class="flex items-start space-x-3">
                                <i class="fa fa-bed text-orange-500 text-xl mt-1"></i>
                                <div>
                                    <h3 class="font-semibold text-gray-900 mb-2">住宿提醒</h3>
                                    <ul class="text-sm text-gray-600 space-y-1">
                                        <li>• 蔓菲酒店提供免费停车场</li>
                                        <li>• 酒店设施：WiFi、洗衣服务、健身室</li>
                                        <li>• 可要求安静房间</li>
                                        <li>• 建议选择距离医院步行15分钟内的住宿</li>
                                        <li>• 确认房间有热水、空调等基本设施</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- 健康状态记录 -->
                    <div class="mt-6 bg-gray-50 p-6 rounded-xl">
                        <h3 class="font-semibold text-gray-900 mb-4">母亲健康状态记录</h3>
                        <div class="grid md:grid-cols-3 gap-4">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">体温 (℃)</label>
                                <input type="number" step="0.1" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-primary focus:border-primary" placeholder="输入体温">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">血压 (mmHg)</label>
                                <input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-primary focus:border-primary" placeholder="如：120/80">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-2">疼痛程度</label>
                                <select class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-primary focus:border-primary">
                                    <option>无疼痛</option>
                                    <option>轻微疼痛</option>
                                    <option>中度疼痛</option>
                                    <option>重度疼痛</option>
                                </select>
                            </div>
                        </div>
                        <div class="mt-4">
                            <label class="block text-sm font-medium text-gray-700 mb-2">其他症状或备注</label>
                            <textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-primary focus:border-primary" rows="3" placeholder="记录母亲的其他症状、饮食情况、睡眠质量等"></textarea>
                        </div>
                        <button class="mt-4 bg-primary text-white px-4 py-2 rounded-lg hover:bg-primary/90 transition-colors">
                            <i class="fa fa-save mr-1"></i>保存记录
                        </button>
                    </div>
                </div>
            </div>
        </section>

        <!-- 紧急联系人信息 -->
        <section class="mb-12">
            <div class="bg-white rounded-2xl shadow-sm overflow-hidden">
                <div class="bg-gradient-to-r from-primary to-secondary p-6">
                    <h2 class="text-2xl font-bold text-white mb-2">紧急联系人信息</h2>
                    <p class="text-white/90">重要联系人和联系方式</p>
                </div>
                <div class="p-6">
                    <div class="grid md:grid-cols-2 gap-6">
                        <!-- 主治医生 -->
                        <div class="card-hover bg-gradient-to-br from-blue-50 to-blue-100 p-6 rounded-xl">
                            <div class="flex items-center space-x-4 mb-4">
                                <div class="w-16 h-16 bg-primary rounded-full flex items-center justify-center">
                                    <i class="fa fa-user-md text-white text-2xl"></i>
                                </div>
                                <div>
                                    <h3 class="font-bold text-gray-900">谯医生</h3>
                                    <p class="text-sm text-gray-600">主治医生</p>
                                </div>
                            </div>
                            <div class="space-y-2">
                                <div class="flex items-center space-x-2">
                                    <i class="fa fa-phone text-primary"></i>
                                    <span class="text-sm text-gray-700">13544539881</span> 
                                    <button class="ml-auto bg-primary text-white px-3 py-1 rounded text-xs hover:bg-primary/90">
                                        <i class="fa fa-phone mr-1"></i>拨打
                                    </button>
                                </div>
                               
                                <div class="flex items-center space-x-2">
                                    <i class="fa fa-map-marker text-primary"></i>
                                    <span class="text-sm text-gray-700">广州中医药大学金沙洲医院</span>
                                </div>
                            </div>
                        </div>

                        <!-- 医院信息 -->
                        <div class="card-hover bg-gradient-to-br from-green-50 to-green-100 p-6 rounded-xl">
                            <div class="flex items-center space-x-4 mb-4">
                                <div class="w-16 h-16 bg-green-500 rounded-full flex items-center justify-center">
                                    <i class="fa fa-hospital-o text-white text-2xl"></i>
                                </div>
                                <div>
                                    <h3 class="font-bold text-gray-900">广州中医药大学金沙洲医院</h3>
                                    <p class="text-sm text-gray-600">三级综合医院</p>
                                </div>
                            </div>
                            <div class="space-y-2">
                                <div class="flex items-center space-x-2">
                                    <i class="fa fa-phone text-green-500"></i>
                                    <span class="text-sm text-gray-700">020 8133 0999</span> 
                                    <button class="ml-auto bg-green-500 text-white px-3 py-1 rounded text-xs hover:bg-green-600">
                                        <i class="fa fa-phone mr-1"></i>拨打
                                    </button>
                                </div>
                                <div class="flex items-center space-x-2">
                                    <i class="fa fa-map-marker text-green-500"></i>
                                    <span class="text-sm text-gray-700">广州市白云区金沙洲礼传东街1号</span>
                                </div>
                                <div class="flex items-center space-x-2">
                                    <i class="fa fa-subway text-green-500"></i>
                                    <span class="text-sm text-gray-700">地铁6号线横沙站C出口下楼梯右走150米，步行300米</span>
                                </div>
                            </div>
                        </div>

                        <!-- 家属联系 -->
                        <div class="card-hover bg-gradient-to-br from-purple-50 to-purple-100 p-6 rounded-xl">
                            <div class="flex items-center space-x-4 mb-4">
                                <div class="w-16 h-16 bg-purple-500 rounded-full flex items-center justify-center">
                                    <i class="fa fa-users text-white text-2xl"></i>
                                </div>
                                <div>
                                    <h3 class="font-bold text-gray-900">家属联系</h3>
                                    <p class="text-sm text-gray-600">紧急情况下的联系人</p>
                                </div>
                            </div>
                            <div class="space-y-2">
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center space-x-2">
                                        <i class="fa fa-phone text-purple-500"></i>
                                        <span class="text-sm text-gray-700">我本人：13737725717</span> 
                                    </div>
                                    <button class="bg-purple-500 text-white px-3 py-1 rounded text-xs hover:bg-purple-600">
                                        <i class="fa fa-phone mr-1"></i>拨打
                                    </button>
                                </div>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center space-x-2">
                                        <i class="fa fa-phone text-purple-500"></i>
                                        <span class="text-sm text-gray-700">父亲：15697732128</span> 
                                    </div>
                                    <button class="bg-purple-500 text-white px-3 py-1 rounded text-xs hover:bg-purple-600">
                                        <i class="fa fa-phone mr-1"></i>拨打
                                    </button>
                                </div>
                            </div>
                        </div>

                        <!-- 紧急服务 -->
                        <div class="card-hover bg-gradient-to-br from-red-50 to-red-100 p-6 rounded-xl">
                            <div class="flex items-center space-x-4 mb-4">
                                <div class="w-16 h-16 bg-red-500 rounded-full flex items-center justify-center">
                                    <i class="fa fa-ambulance text-white text-2xl"></i>
                                </div>
                                <div>
                                    <h3 class="font-bold text-gray-900">紧急服务</h3>
                                    <p class="text-sm text-gray-600">紧急情况下的求助电话</p>
                                </div>
                            </div>
                            <div class="space-y-2">
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center space-x-2">
                                        <i class="fa fa-phone text-red-500"></i>
                                        <span class="text-sm text-gray-700">急救电话：120</span>
                                    </div>
                                    <button class="bg-red-500 text-white px-3 py-1 rounded text-xs hover:bg-red-600">
                                        <i class="fa fa-phone mr-1"></i>拨打
                                    </button>
                                </div>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center space-x-2">
                                        <i class="fa fa-phone text-red-500"></i>
                                        <span class="text-sm text-gray-700">报警电话：110</span>
                                    </div>
                                    <button class="bg-red-500 text-white px-3 py-1 rounded text-xs hover:bg-red-600">
                                        <i class="fa fa-phone mr-1"></i>拨打
                                    </button>
                                </div>
                               
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 物资清单 -->
        <section class="mb-12">
            <div class="bg-white rounded-2xl shadow-sm overflow-hidden">
                <div class="bg-gradient-to-r from-primary to-secondary p-6">
                    <h2 class="text-2xl font-bold text-white mb-2">物资清单</h2>
                    <p class="text-white/90">住院期间需要携带的物品</p>
                </div>
                <div class="p-6">
                    <div class="grid md:grid-cols-2 gap-6">
                        <!-- 证件类 -->
                        <div>
                            <h3 class="font-semibold text-gray-900 mb-3 flex items-center">
                                <i class="fa fa-id-card text-primary mr-2"></i>证件类
                            </h3>
                            <div class="space-y-2">
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">身份证（患者及家属）</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">医保卡</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">住院通知书</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">病历资料</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">近期检查报告</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">银行卡和少量现金</span>
                                </label>
                            </div>
                        </div>

                        <!-- 生活用品 -->
                        <div>
                            <h3 class="font-semibold text-gray-900 mb-3 flex items-center">
                                <i class="fa fa-shopping-cart text-primary mr-2"></i>生活用品
                            </h3>
                            <div class="space-y-2">
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">换洗衣物</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">洗漱用品</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">拖鞋</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">保温杯</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">毛巾</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">纸巾、湿巾</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">雨伞</span>
                                </label>
                            </div>
                        </div>

                        <!-- 医疗用品 -->
                        <div>
                            <h3 class="font-semibold text-gray-900 mb-3 flex items-center">
                                <i class="fa fa-medkit text-primary mr-2"></i>医疗用品
                            </h3>
                            <div class="space-y-2">
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">常用药物</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">小便盆</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">尿垫</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">坐垫</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">护理用品</span>
                                </label>
                            </div>
                        </div>

                        <!-- 娱乐用品 -->
                        <div>
                            <h3 class="font-semibold text-gray-900 mb-3 flex items-center">
                                <i class="fa fa-tablet text-primary mr-2"></i>娱乐用品
                            </h3>
                            <div class="space-y-2">
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">手机及充电器</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">平板电脑或电子书</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">书籍或杂志</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">耳机</span>
                                </label>
                                <label class="flex items-center space-x-2">
                                    <input type="checkbox" class="rounded text-primary focus:ring-primary">
                                    <span class="text-sm text-gray-700">充电器转换头</span>
                                </label>
                            </div>
                        </div>
                    </div>

                    <!-- 陪护用品 -->
                    <div class="mt-6">
                        <h3 class="font-semibold text-gray-900 mb-3 flex items-center">
                            <i class="fa fa-user-plus text-primary mr-2"></i>陪护用品
                        </h3>
                        <div class="bg-blue-50 p-4 rounded-lg">
                            <div class="grid md:grid-cols-3 gap-4">
                                <div>
                                    <img src="https://doc.doubao.com/s/Wzzdjr7rx6s/" alt="陪护床椅" class="w-full h-32 object-cover rounded-lg mb-2">
                                    <p class="text-sm text-gray-700">陪护床椅（医院可租或自带）</p>
                                </div>
                                <div>
                                    <h4 class="font-medium text-gray-900 text-sm mb-2">日常用品</h4>
                                    <ul class="text-xs text-gray-600 space-y-1">
                                        <li>• 折叠椅</li>
                                        <li>• 小毯子</li>
                                        <li>• 保温杯</li>
                                        <li>• 简单洗漱用品</li>
                                    </ul>
                                </div>
                                <div>
                                    <h4 class="font-medium text-gray-900 text-sm mb-2">食物准备</h4>
                                    <ul class="text-xs text-gray-600 space-y-1">
                                        <li>• 易消化的零食</li>
                                        <li>• 水果</li>
                                        <li>• 饮用水</li>
                                        <li>• 能量补充食品</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 交通与周边信息 -->
        <section class="mb-12">
            <div class="bg-white rounded-2xl shadow-sm overflow-hidden">
                <div class="bg-gradient-to-r from-primary to-secondary p-6">
                    <h2 class="text-2xl font-bold text-white mb-2">交通与周边信息</h2>
                    <p class="text-white/90">医院周边交通、餐饮、购物信息</p>
                </div>
                <div class="p-6">
                    <div class="grid md:grid-cols-2 gap-6">
                        <!-- 医院交通 -->
                        <div>
                            <h3 class="font-semibold text-gray-900 mb-3 flex items-center">
                                <i class="fa fa-subway text-primary mr-2"></i>医院交通
                            </h3>
                            <div class="space-y-3">
                                <div class="bg-blue-50 p-3 rounded-lg">
                                    <h4 class="font-medium text-gray-900 text-sm mb-1">地铁</h4>
                                    <p class="text-sm text-gray-600">地铁6号线横沙站C出口，步行约300米</p>
                                </div>
                                <div class="bg-blue-50 p-3 rounded-lg">
                                    <h4 class="font-medium text-gray-900 text-sm mb-1">公交</h4>
                                    <p class="text-sm text-gray-600">12路、231路、276路、790路、974路等</p>
                                </div>
                                <div class="bg-blue-50 p-3 rounded-lg">
                                    <h4 class="font-medium text-gray-900 text-sm mb-1">自驾</h4>
                                    <p class="text-sm text-gray-600">导航至"广州中医药大学金沙洲医院"</p>
                                    <p class="text-sm text-gray-600">院内有停车场，周边也有收费停车场</p>
                                </div>
                            </div>
                        </div>

                        <!-- 周边餐饮 -->
                        <div>
                            <h3 class="font-semibold text-gray-900 mb-3 flex items-center">
                                <i class="fa fa-cutlery text-primary mr-2"></i>周边餐饮
                            </h3>
                            <div class="space-y-3">
                                <div class="border-l-4 border-primary pl-3">
                                    <h4 class="font-medium text-gray-900 text-sm">医院食堂</h4>
                                    <p class="text-xs text-gray-600">提供营养套餐，价格实惠</p>
                                </div>
                                <div class="border-l-4 border-primary pl-3">
                                    <h4 class="font-medium text-gray-900 text-sm">金铂天地购物中心</h4>
                                    <p class="text-xs text-gray-600">距离蔓菲酒店步行3分钟，各种餐饮选择</p>
                                </div>
                                <div class="border-l-4 border-primary pl-3">
                                    <h4 class="font-medium text-gray-900 text-sm">外卖服务</h4>
                                    <p class="text-xs text-gray-600">美团、饿了么等平台均可配送</p>
                                </div>
                            </div>
                        </div>

                        <!-- 购物便利 -->
                        <div>
                            <h3 class="font-semibold text-gray-900 mb-3 flex items-center">
                                <i class="fa fa-shopping-bag text-primary mr-2"></i>购物便利
                            </h3>
                            <div class="space-y-3">
                                <div class="border-l-4 border-primary pl-3">
                                    <h4 class="font-medium text-gray-900 text-sm">金铂天地购物中心</h4>
                                    <p class="text-xs text-gray-600">超市、药店、餐饮一应俱全</p>
                                </div>
                                <div class="border-l-4 border-primary pl-3">
                                    <h4 class="font-medium text-gray-900 text-sm">便利店</h4>
                                    <p class="text-xs text-gray-600">7-Eleven、全家等24小时营业</p>
                                </div>
                                <div class="border-l-4 border-primary pl-3">
                                    <h4 class="font-medium text-gray-900 text-sm">药店</h4>
                                    <p class="text-xs text-gray-600">医院周边有多家连锁药店</p>
                                </div>
                            </div>
                        </div>

                        <!-- 休闲散步 -->
                        <div>
                            <h3 class="font-semibold text-gray-900 mb-3 flex items-center">
                                <i class="fa fa-tree text-primary mr-2"></i>休闲散步
                            </h3>
                            <div class="space-y-3">
                                <div class="border-l-4 border-primary pl-3">
                                    <h4 class="font-medium text-gray-900 text-sm">金沙洲滨江公园</h4>
                                    <p class="text-xs text-gray-600">适合术后康复散步，环境优美</p>
                                </div>
                                <div class="border-l-4 border-primary pl-3">
                                    <h4 class="font-medium text-gray-900 text-sm">医院花园</h4>
                                    <p class="text-xs text-gray-600">院内绿化良好，空气清新</p>
                                </div>
                                <div class="border-l-4 border-primary pl-3">
                                    <h4 class="font-medium text-gray-900 text-sm">街道漫步</h4>
                                    <p class="text-xs text-gray-600">周边街道整洁，适合短距离散步</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <!-- 页脚 -->
    <footer class="bg-gray-800 text-white py-6">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="text-center">
                <p class="text-sm opacity-75 mb-2">愿母亲早日康复，平安归来</p>
                <p class="text-xs opacity-50">医疗陪护行程规划 © 2024</p>
            </div>
        </div>
    </footer>

    <!-- 回到顶部按钮 -->
    <button id="backToTop" class="fixed bottom-6 right-6 bg-primary text-white w-12 h-12 rounded-full shadow-lg hover:bg-primary/80 transition-all duration-300 opacity-0 pointer-events-none">
        <i class="fa fa-arrow-up"></i>
    </button>

    <!-- 紧急联系模态框 -->
    <div id="emergencyModal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden items-center justify-center p-4">
        <div class="bg-white rounded-2xl p-6 max-w-md w-full">
            <h3 class="text-xl font-bold text-gray-900 mb-4 text-center">紧急联系人</h3>
            <div class="space-y-4">
                <div class="flex items-center justify-between p-3 bg-red-50 rounded-lg">
                    <div>
                        <p class="font-medium text-gray-900">谯医生（主治医生）</p>
                        <p class="text-sm text-gray-600">13544539881</p> 
                    </div>
                    <button class="bg-red-500 text-white px-4 py-2 rounded-lg hover:bg-red-600">
                        <i class="fa fa-phone mr-1"></i>拨打
                    </button>
                </div>
                <div class="flex items-center justify-between p-3 bg-blue-50 rounded-lg">
                    <div>
                        <p class="font-medium text-gray-900">申俊杰</p>
                        <p class="text-sm text-gray-600">13737725717</p> 
                    </div>
                    <button class="bg-blue-500 text-white px-4 py-2 rounded-lg hover:bg-blue-600">
                        <i class="fa fa-phone mr-1"></i>拨打
                    </button>
                </div>
                <div class="flex items-center justify-between p-3 bg-green-50 rounded-lg">
                    <div>
                        <p class="font-medium text-gray-900">急救电话</p>
                        <p class="text-sm text-gray-600">120</p>
                    </div>
                    <button class="bg-green-500 text-white px-4 py-2 rounded-lg hover:bg-green-600">
                        <i class="fa fa-phone mr-1"></i>拨打
                    </button>
                </div>
            </div>
            <button id="closeModal" class="w-full mt-6 bg-gray-200 text-gray-700 py-2 rounded-lg hover:bg-gray-300">
                关闭
            </button>
        </div>
    </div>

    <script>
        // 日期标签切换
        document.querySelectorAll('.date-tab').forEach(tab => {
            tab.addEventListener('click', () => {
                // 移除所有active类
                document.querySelectorAll('.date-tab').forEach(t => {
                    t.classList.remove('active', 'bg-primary', 'text-white');
                    t.classList.add('bg-gray-200', 'text-gray-700');
                });
                
                // 添加active类到当前标签
                tab.classList.add('active', 'bg-primary', 'text-white');
                tab.classList.remove('bg-gray-200', 'text-gray-700');
                
                // 隐藏所有日期内容
                document.querySelectorAll('.date-content').forEach(content => {
                    content.classList.add('hidden');
                });
                
                // 显示对应日期内容
                const date = tab.getAttribute('data-date');
                document.getElementById(date).classList.remove('hidden');
            });
        });

        // 回到顶部功能
        const backToTopButton = document.getElementById('backToTop');
        
        window.addEventListener('scroll', () => {
            if (window.pageYOffset > 300) {
                backToTopButton.classList.remove('opacity-0', 'pointer-events-none');
            } else {
                backToTopButton.classList.add('opacity-0', 'pointer-events-none');
            }
        });
        
        backToTopButton.addEventListener('click', () => {
            window.scrollTo({
                top: 0,
                behavior: 'smooth'
            });
        });

        // 紧急联系模态框
        const emergencyCallButton = document.getElementById('emergencyCall');
        const emergencyModal = document.getElementById('emergencyModal');
        const closeModalButton = document.getElementById('closeModal');
        
        emergencyCallButton.addEventListener('click', () => {
            emergencyModal.classList.remove('hidden');
            emergencyModal.classList.add('flex');
        });
        
        closeModalButton.addEventListener('click', () => {
            emergencyModal.classList.add('hidden');
            emergencyModal.classList.remove('flex');
        });
        
        // 点击模态框外部关闭
        emergencyModal.addEventListener('click', (e) => {
            if (e.target === emergencyModal) {
                emergencyModal.classList.add('hidden');
                emergencyModal.classList.remove('flex');
            }
        });

        // 模拟电话拨打功能
        document.querySelectorAll('button').forEach(button => {
            if (button.textContent.includes('拨打')) {
                button.addEventListener('click', () => {
                    const phoneNumber = button.parentElement.querySelector('.text-sm').textContent;
                    if (confirm(`确定要拨打 ${phoneNumber} 吗？`)) {
                        // 这里可以添加实际的拨打电话功能
                        alert(`正在拨打 ${phoneNumber}...`);
                    }
                });
            }
        });

        // 保存健康状态记录
        document.querySelector('button[onclick*="保存记录"]').addEventListener('click', () => {
            const temperature = document.querySelector('input[type="number"]').value;
            const bloodPressure = document.querySelector('input[type="text"]').placeholder === '如：120/80' ? 
                document.querySelectorAll('input[type="text"]')[0].value : 
                document.querySelectorAll('input[type="text"]')[1].value;
            const painLevel = document.querySelector('select').value;
            const notes = document.querySelector('textarea').value;
            
            if (temperature || bloodPressure || notes) {
                const record = {
                    time: new Date().toLocaleString(),
                    temperature,
                    bloodPressure,
                    painLevel,
                    notes
                };
                
                // 保存到本地存储
                let records = JSON.parse(localStorage.getItem('healthRecords') || '[]');
                records.push(record);
                localStorage.setItem('healthRecords', JSON.stringify(records));
                
                alert('健康状态记录已保存！');
                
                // 清空表单
                document.querySelector('input[type="number"]').value = '';
                document.querySelectorAll('input[type="text"]').forEach(input => input.value = '');
                document.querySelector('select').selectedIndex = 0;
                document.querySelector('textarea').value = '';
            } else {
                alert('请至少填写一项记录内容');
            }
        });

        // 页面加载完成后的初始化
        document.addEventListener('DOMContentLoaded', () => {
            // 设置当前日期为活跃状态
            const today = new Date();
            const dayOfMonth = today.getDate();
            
            // 如果在行程日期范围内，自动切换到对应日期
            if (dayOfMonth >= 21 && dayOfMonth <= 26) {
                const dayIndex = dayOfMonth - 21 + 1;
                const dayTab = document.querySelector(`[data-date="day${dayIndex}"]`);
                if (dayTab) {
                    dayTab.click();
                }
            }
            
            // 添加页面加载动画
            document.body.style.opacity = '0';
            document.body.style.transition = 'opacity 0.5s ease-in-out';
            
            setTimeout(() => {
                document.body.style.opacity = '1';
            }, 100);
        });

        // 添加滚动动画效果
        const observerOptions = {
            threshold: 0.1,
            rootMargin: '0px 0px -50px 0px'
        };

        const observer = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    entry.target.style.opacity = '1';
                    entry.target.style.transform = 'translateY(0)';
                }
            });
        }, observerOptions);

        // 观察所有需要动画的元素
        document.querySelectorAll('.timeline-item, .card-hover').forEach(el => {
            el.style.opacity = '0';
            el.style.transform = 'translateY(20px)';
            el.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
            observer.observe(el);
        });
    </script>
</body>
</html>